home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Diversos / carreras.swf / scripts / frame_2 / PlaceObject2_49_3 / CLIPACTIONRECORD onClipEvent(enterFrame).as next >
Encoding:
Text File  |  2008-09-26  |  352 b   |  23 lines

  1. onClipEvent(enterFrame){
  2.    if(bactive == true)
  3.    {
  4.       this.ruedamc.play();
  5.    }
  6.    else
  7.    {
  8.       this.ruedamc.stop();
  9.    }
  10.    this.onRollOver = function()
  11.    {
  12.       bactive = true;
  13.    };
  14.    this.onRollOut = function()
  15.    {
  16.       bactive = false;
  17.    };
  18.    this.onPress = function()
  19.    {
  20.       _root.gotoAndStop(3);
  21.    };
  22. }
  23.